package com.example.transaction.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zh
 * @since 2023-06-26
 */
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "addressID", type = IdType.AUTO)
    private Integer addressID;
    @TableField(value = "userID")
    private Integer userID;
    @TableField(value = "addressDetail")
    private String addressDetail;
    @TableField(value = "recipient")
    private String recipient;
    @TableField(value = "recipientPhone")
    private String recipientPhone;
    @TableField(value = "deleted")
    private Integer deleted;

    public Integer getAddressID() {
        return addressID;
    }

    public void setAddressID(Integer addressID) {
        this.addressID = addressID;
    }
    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }
    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }
    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }
    public String getRecipientPhone() {
        return recipientPhone;
    }

    public void setRecipientPhone(String recipientPhone) {
        this.recipientPhone = recipientPhone;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "Address{" +
            "addressID=" + addressID +
            ", userID=" + userID +
            ", addressDetail=" + addressDetail +
            ", recipient=" + recipient +
            ", recipientPhone=" + recipientPhone +
            ", deleted=" + deleted +
        "}";
    }
}
